package com.zeng.demo2;


/**
 * @author zeng
 * @date 2021/08/04 14:19
 */
public class Client {
    public static void main(String[] args) {
        Servicelmpl service1 = new Servicelmpl();
        service1.addUser();
        ProxyTest();
    }

    public static void ProxyTest(){
        ProxyService service = new ProxyService();
        service.setServicelmpl(new Servicelmpl());
        service.addUser();
        service.delUser();
        service.queryUser();
        service.updateUser();
    }
}
